package com.jingkong.service;

import com.jingkong.model.User;

import java.util.List;

public interface UserService {

    List<User> getAllUsers();
    User getUserById(Long id);
    User createUser(User user);
    User updateUser(Long id, User user);
    void deleteUser(Long id);

    List<User> getUsersByAgeGreaterThan(Integer age);

    List<User> getUsersByAgeGreaterThanAndGender(Integer age,Integer gender);
}
